package com.chen.serviceorder.remote;

import com.chen.internalcommon.dto.ResponseResult;
import com.chen.internalcommon.response.TerminalAroundSearchResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author chenLiuPing
 **/
@FeignClient("service-map")
public interface ServiceMapClient {
    @PostMapping("/terminal/aroundsearch")
    ResponseResult<List<TerminalAroundSearchResponse>> aroundSearch(@RequestParam String center, @RequestParam Integer radius);
}
